﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UC_Login.ascx.cs" Inherits="Website.UC.UC_Login" %>
<style type="text/css">
    .style1
    {
        width: 500px;
    }
</style>
<center>
<div id= "login">
<table class="style1">
    <tr>
        <td width="30">
            &nbsp;</td>
        <td colspan="2">
        <div id="mess">
            <asp:Label ID="lblError" runat="server"></asp:Label>
       </div>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td width="30">
            &nbsp;</td>
        <td colspan="2">
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            Username</td>
        <td>
            <asp:TextBox ID="txtUser" runat="server" Width="200px"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            Password</td>
        <td>
            <asp:TextBox ID="txtPass" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            Role</td>
        <td>
            <asp:DropDownList ID="ddlRole" runat="server">
                <asp:ListItem Value="1">Student</asp:ListItem>
                <asp:ListItem Value="2">Teacher</asp:ListItem>
                <asp:ListItem Value="3">Administrator</asp:ListItem>
            </asp:DropDownList>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
     <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            <asp:Button ID="btnLogin" runat="server" Text="Login" 
                onclick="btnLogin_Click" Width="91px" />
         </td>
        <td>
            &nbsp;</td>
    </tr>
</table>
</div>
</center>
<p>
    &nbsp;</p>
<p>
    &nbsp;</p>
<p>
    &nbsp;</p>
